package com.juyu.miliao.scheduler.dao.mysql;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.juyu.miliao.scheduler.domin.Order;


@Repository
public class OrderDao {
	@Autowired
	private SqlSession sqlSession;

	public Order findOrderByOrderId(String orderId) {
		return sqlSession.selectOne("findOrderByOrderId",orderId);
	}

}
